Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 3 - Page Formatting and Dialog Box Customization / Page Formatting and Dialog Box Customization Reference
Constants and Data Types for Paper-Type Collection Items


Creator Information

The collection item ID for creator information is defined in the following enumeration:

enum { gxCreatorTag = 'crea' };  
QuickDraw GX stores paper-type object creator information in the gxCreatorInfo structure:

struct gxCreatorInfo {
   OSType   creator;    
} ;
Field Description
creator
An operating-system type that contains the creator type of a paper-type object. You specify a system paper-type object creator as 'sypt', and you specify a user paper-type object creator as 'uspt'.
Applications do not need to set this collection item. Printer drivers that create paper-type objects should use the creator type that identifies the printer driver. For example, a printer driver for the LaserWriter SC should specify a paper-type object creator as 'lwsc'.

QuickDraw GX defines paper-type object creator types in the following enumeration:

enum {
   gxSysPaperType    =  'sypt',  
   gxUserPaperType   =  'uspt'   
};
Constant descriptions

gxSysPaperType
If set, QuickDraw GX uses a system-defined paper-type object.
gxUserPaperType
If set, QuickDraw GX uses a user-defined paper-type object.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help